package com.zhao.model;

import java.util.regex.Pattern;

public class Test {

    public static void main(String[] args) {



        /*String match = "this\\s+is\\s+text";
        System.out.println(Pattern.matches(match,"this   is    text"));*/

        String match001 = "^[1-9]{1}\\d+(\\.\\d+)?";
        System.out.println(Pattern.matches(match001,"2.1110"));

        /*String all = "(\\D*)(\\d{3})(\\d{4})(\\d{4})(\\D*)";
        String st = "^\\d{11}$";
        String dsd = "(^|\\D){1,}\\d{11}($|\\D){1,}";//^[\D*][\d{11}][\D*]
        String sss = "01234567890";
        System.out.println(Pattern.matches(all, sss));*/
    }
}
